package com.hwl.demo19.service;

import com.hwl.demo19.entity.Request;

/**
 * 管理者抽象类
 *
 * @author sentry
 * @since 2023-03-26
 */
public abstract class Manager {

    protected String name;
    protected Manager superior;

    public Manager(String name) {
        this.name = name;
    }

    /**
     * 设置上级管理者
     */
    public void setSuperior(Manager superior) {
        this.superior = superior;
    }

    public abstract void requestApplications(Request request);
}
